Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ParseFixed6 equivalent of ParseInt #6618

Merged
merged 2 commits into from
Sep 17, 2023
Merged

Conversation

ephphatha
Copy link
Contributor

@ephphatha ephphatha commented Sep 17, 2023

Intended for use loading fixed point decimals from strings (e.g. player attributes from text files). Found a few error conditions that I wasn't handling properly so made the code a bit more robust at the expense of added lines :( e: and of course I found another failure case after opening the PR...

Split from #6530

@ephphatha ephphatha requested a review from glebm September 17, 2023 08:14
@glebm glebm merged commit 3fda058 into diasurgical:master Sep 17, 2023
18 checks passed
@AJenbo
Copy link
Member

AJenbo commented Sep 17, 2023

It's wild that basic stuff like this isn't part of std :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants